<?php
namespace app\admin\validate;

use think\Validate;

class Article extends Validate
{
    protected $rule = [
//        'cid'   => 'require',
        'a_title' => 'require',
        'a_content' => 'require'
    ];

    protected $message = [
//        'cid.require'   => '请选择所属栏目',
        'a_title.require' => '请输入标题',
        'a_content.require' => '请输内容'
    ];
}